package com.videoweb.entity.dto;


import com.videoweb.constant.Constants;

import lombok.Data;

import java.time.LocalDate;

@Data
public class VideoCommentDTO {

    private Long id;
    private String content;
    private Long videoId;
    private Long userId;
    private String nickname;
    //    记得拼接一下链接
    private String avatar;
    private int parentId;
    private int likes;
    private LocalDate createdAt;


    public void setAvatar(String avatar) {
        this.avatar = Constants.CNAME + avatar;
    }


//ok

}

